/**
 * Created by gek on 2016/3/4.
 */
var app = angular.module('app', [
  'appControllers',
  'appDirectives',
  'appServices',
  'ngRoute'
]);

app.config(function ($routeProvider) {
  $routeProvider.when('/', {
    templateUrl: 'home.html'
  }).when('/articleList', {
    templateUrl: 'community.html',
    controller: 'articleController'
  }).when('/articleInfo/:id', {
    templateUrl: 'community.html',
    controller: 'articleController'
  }).when('/about', {
    templateUrl: 'about.html'
  }).when('/help', {
    templateUrl: 'help.html'
  });
});

app.run(function () {

});